﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DwgSearchView.Models
{
    /// <summary>
    /// 图纸信息类
    /// </summary>
    public class CDrawing
    {
        #region Fields

        /// <summary>
        /// 编号
        /// </summary>
        private string m_strID = string.Empty;
        public string ID
        {
            get { return m_strID; }
            set { m_strID = value; }
        }

        /// <summary>
        /// 工装图号
        /// </summary>
        private string m_strToolingNo = string.Empty;
        public string ToolingNo
        {
            get { return m_strToolingNo; }
            set { m_strToolingNo = value; }
        }

        /// <summary>
        /// 型号
        /// </summary>
        private string m_strType = string.Empty;
        public string Type
        {
            get { return m_strType; }
            set { m_strType = value; }      
        }

        /// <summary>
        /// 零件号
        /// </summary>
        private string m_strPartNo = string.Empty;
        public string PartNo
        {
            get { return m_strPartNo; }
            set { m_strPartNo = value; }
        }

        /// <summary>
        /// 零件名称
        /// </summary>
        private string m_strPartName = string.Empty;
        public string PartName
        {
            get { return m_strPartName; }
            set { m_strPartName = value; }
        }
   
        /// <summary>
        /// 工序名称
        /// </summary>
        private string m_strProcessName = string.Empty;
        public string ProcessName
        {
            get { return m_strProcessName; }
            set { m_strProcessName = value; }
        }

        /// <summary>
        /// 文件存储路径
        /// </summary>
        private string m_strFilePath = string.Empty;
        public string FilePath
        {
            get { return m_strFilePath; }
            set { m_strFilePath = value; }
        }
         
        #endregion

        #region 构造与先验

        public CDrawing()
        {
            ID = Guid.NewGuid().ToString();
        }

        #endregion

    }
}
